package com.shiliao.app.manager;

import com.shiliao.app.event.MessageEvent;

import org.greenrobot.eventbus.EventBus;

/**
 * Created by huihuili on 2017/7/27.
 */

public class MessageEventManager {

    public static void sendUpdateInfo() {
        MessageEvent event = new MessageEvent();
        event.eventName = MessageEvent.EVENT_UPDATE_INFO;
        EventBus.getDefault().post(event);
    }

    public static void sendCancleDiaolg() {//提问成功关掉dialog
        MessageEvent event = new MessageEvent();
        event.eventName = MessageEvent.EVENT_UPDATE_ORDER_LIST;
        EventBus.getDefault().post(event);
    }
}
